<h2><?php print $header?></h2>
<p><?php print $this->lang->line( 'event_location_info' )?></p>

<?php print form_open( 'events/user/location/form/'.$this->validation->id, array( 'class' => 'horizontal' ) )?>
    <fieldset>
        <ol>
			<li>
                <?php print form_label( $this->lang->line( 'event_location_title' ), 'title' )?>
                <?php print form_input( 'title', $this->validation->title, 'id="title" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_description' ), 'description' )?>
                <?php print form_fckeditor( $fckeditor, $this->validation->description )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_street' ), 'streent' )?>
                <?php print form_input( 'street', $this->validation->street, 'id="street" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_zipcode' ), 'zipcode' )?>
                <?php print form_input( 'zipcode', $this->validation->zipcode, 'id="zipcode" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_city' ), 'city' )?>
                <?php print form_input( 'city', $this->validation->city, 'id="city" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_latitude' ), 'latitude' )?>
                <?php print form_input( 'latitude', $this->validation->latitude, 'id="latitude" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'event_location_longitude' ), 'longitude' )?>
                <?php print form_input( 'longitude', $this->validation->longitude, 'id="longitude" class="text"' )?>
            </li>
            <li class="submit">
                <?php print form_hidden( 'id', $this->validation->id )?>
                <div class="buttons">
	                <button type="submit" class="positive" name="submit" value="submit">
	                	<?php print $this->bep_assets->icon( 'disk' );?>
	                	<?php print $this->lang->line( 'general_save' )?>
	                </button>
	                <a href="<?php print site_url( 'events/user/events' )?>" class="negative">
	                	<?php print $this->bep_assets->icon( 'cross' );?>
	                	<?php print $this->lang->line( 'general_cancel' )?>
	                </a>
	            </div>
            </li>
        </ol>
    </fieldset>
<?php print form_close( )?>